package tmt.usercenter.web.vo.user;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

@Getter
@Setter
public class PasswordVo implements Serializable {

	@NotBlank
	private String originalPassword;
	@NotBlank
	@Length(min = 6, message = "密码长度不能少于 {min} 位。")
	private String newPassword;

}
